package lee.tzz;

import com.sun.org.apache.xpath.internal.operations.String;

public class pra001 {
    public static void main(String[] args) {
        System.out.println(123);
        //MyList myList = new MyList();
        //myList.addLast(1);
        //myList.addLast(2);
        //System.out.println(myList.getSize());


        //Integer a1=100;
        //Integer a2=100;
        //Integer a1=300;
        //Integer a2=300;
        //Integer a1=100;
        //int a2=100;

        Integer a1 = new Integer(100);
        Long a2 = new Long(100);
        System.out.println(a1.equals(a2));
        System.out.println(a2.equals(a1));
        System.out.println("test");


        ThreadLocal<Integer> local1 = new ThreadLocal<>();
        ThreadLocal<Integer> local2 = new ThreadLocal<>();
        ThreadLocal<Integer> local3 = new ThreadLocal<>();

        new Thread(() -> {
            local1.set(1);
            local2.set(2);
        }).start();

        new Thread(() -> {
            local1.set(11);
            local2.set(22);
            local3.set(3);
        }).start();
        System.out.println("test");
        System.out.println(123);


    }


}
